// 消息中心
const route = {
  meta: {
    roles: ['message_center'],
    title: '消息中心',
    icon: 'xiaoxizhongxin-weixuan',
    activeIcon: 'xiaoxizhongxin-xuanzhong',
    group: 'management'
  },
  path: '/message_center',
  redirect: '/message_center/index',
  component: () => import(/* webpackChunkName: "main-index" */ '@views/index.vue'),
  children: [
    {
      meta: {
        roles: ['system_message_setting']
      },
      path: 'index',
      name: 'Message',
      component: () => import(/* webpackChunkName: "config" */ '@/views/message/index.vue'),
      children: [
        {
          path: 'message_center/system_message_setting',
          name: 'SystemMessage',
          meta: {
            title: '系统消息管理',
            group: 'system'
          },
          component: () => import(/* webpackChunkName: "systemMessage" */ '@/views/message/systemMessage/index.vue')
        }
      ]
    }
  ]
}

export default route
